import { Form, FormDynamicControl } from '../imports';

export function FormPage() {
	return (
		<>
			<h2>表单</h2>
			<Form
				mode="design"
				plugins={[FormDynamicControl]}
				controls={[
					{
						type: 'dynamic',
						value: '<h1>hello</h1>',
					},
					{
						type: 'dynamic',
						value: '<div>som text</div>',
					},
				]}
			></Form>
		</>
	);
}
